﻿using UnityEngine;
using System.Collections;

public class GameSvc : MonoBehaviour {
    public Transform FirstBg;
    public static GameSvc Instance;
    public int Score = 0;
    public enum GameState
    {
        Start,
        Playing,
        Over
    }
    public static GameState CurState;
    void Awake()
    {
        Instance = this;
        CurState = GameState.Start;
    }

    void Update()
    {
        // 游戏结束，弹出GameMenu。。
        if (CurState==GameState.Over)
        {
            
        }
    }

}
